import { createSSRApp } from 'vue'
import { createPinia } from 'pinia'
import { createUnistorage } from 'pinia-plugin-unistorage'
import * as Pinia from 'pinia'

import App from './App.vue'
export function createApp() {
  const pinia = createPinia()
  pinia.use(createUnistorage())
  const app = createSSRApp(App)
  app.use(pinia)
  return {
    app,
  }
}
